package com.cloud.tsp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.api.domain.alarm.AlarmReason;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author haohaibo
 * @since 2024-02-21
 */
public interface AlarmReasonMapper extends BaseMapper<AlarmReason> {

    List<AlarmReason> selectAlarmReasonList(@Param("code") String code);

    List<AlarmReason> selectAlarmReasonListById(@Param("alarmCategoryId") String alarmCategoryId);
}
